package com.sc.nft.entity;

import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sc.nft.enums.PayChannelEnum;
import com.sc.nft.enums.WalletChannelEnum;
import com.sc.nft.sup.SuperEntity;
import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * 衫德转帐记录表(sc_sand_transfer_record)实体类
 *
 * @author zxy
 * @since 2023-01-01 18:54:35
 * @description 由 Mybatisplus Code Generator 创建
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sc_sand_transfer_record")
public class SandTransferRecord extends SuperEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 用户Id
     */
    private Long userId;

    /**
     * 渠道
     */
    private WalletChannelEnum channel;
    /**
     * 金额
     */
    private BigDecimal amount;
    @ApiModelProperty("手续费")
    private BigDecimal charge;
    /**
     * 审批状态 0 未审批 1 审批通过 2 审批失败
     */
    private Integer approvalStatus;
    /**
     * 拒绝原因
     */
    private String remark;
    /**
     * 申请时间
     */
    private Date applyTime;
    /**
     * 交易单号
     */
    private String customerOrderNo;
    /**
     * 交易时间
     */
    private Date dealTime;
    /**
     * 转账状态 0处理中 1 成功 2 失败
     */
    private Integer withdrawStatus;

    /**
     * 手续费
     */
    private String feeAmount;


}